﻿<%@ Import Namespace="SinsenWeb.Helpers"%>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Form.ascx.cs" Inherits="SinsenWeb.Views.Members.Form" %>
<div style=" float:left">
<div>
    <label for="Member.Firstname">Fornavn</label>
    <input type="text" name="Member.Firstname" value='<%= ViewData.Model.Member.Firstname %>' />
</div>
<div>
    <label for="Member.Lastname">Etternavn</label>
    <input type="text" name="Member.Lastname" value='<%= ViewData.Model.Member.Lastname %>' />
</div>
<div>
    <label for="Member.Address">Adresse</label>
    <input type="text" name="Member.Address" value='<%= ViewData.Model.Member.Address %>' />
</div>
<div>
    <label for="Member.ZipCode">Postnummer</label>
    <input type="text" name="Member.ZipCode" value='<%= ViewData.Model.Member.ZipCode %>' />
</div>
<div>
    <label for="Member.City">Poststed</label>
    <input type="text" name="Member.City" value='<%= ViewData.Model.Member.City %>' />
</div>
<div>
    <label for="Member.Email">Epostadresse</label>
    <input type="text" name="Member.Email" value='<%= ViewData.Model.Member.Email %>' />
</div>
<div>
    <label for="Member.Phone">Telefonnummer</label>
    <input type="text" name="Member.Phone" value='<%= ViewData.Model.Member.Phone %>' />
</div>
<div>
    <label for="Member.MobilePhone">Mobiltelefon</label>
    <input type="text" name="Member.MobilePhone" value='<%= ViewData.Model.Member.MobilePhone %>' />
    
</div>
<div>
    <label for="Member.BirthDate">Født</label>
    <input type="text" class="date" name="Member.BirthDate" value='<%= ViewData.Model.Member.BirthDate.GetFormatted() %>' />
</div>
</div>
<div style="float:left">
<div>
    <label for="Member.StartedDate">Startet i sinsen</label>
    <input type="text" class="date" name="Member.StartedDate" value='<%= ViewData.Model.Member.StartedDate.GetFormatted() %>' />
    
</div>
<br />
<div>
    <label for="Member.MsnAddress">Brukernavn på MSN</label>
    <input type="text" name="Member.MsnAddress" value='<%= ViewData.Model.Member.MsnAddress %>' />
</div>
<br />
<div>
    <label for="Member.AimAddress">Brukernavn på AIM</label>
    <input type="text" name="Member.AimAddress" value='<%= ViewData.Model.Member.AimAddress %>' />
</div>
<br />
<div>
    <label for="Member.SkypeAddress">Brukernavn på Skype</label>
    <input type="text" name="Member.SkypeAddress" value='<%= ViewData.Model.Member.SkypeAddress %>' />
</div>
<br />
<div>
    <label for="Member.PictureUrl">Bilde</label>
    <input type="file" name="Member.Picture" id="Member_Picture" />
</div>
<br />
<div>
    <label for="Member.Instrument">Instrument</label>
    <%= Html.DropDownList("Member.Instrument", new SelectList(ViewData.Model.Instruments, "Id", "Name", ViewData.Model.Member.InstrumentId))%>
</div>
<br />
<div>
    <label for="Member.NmfNumber">NMF nummer</label>
    <input type="text" name="Member.NmfNumber" value='<%= ViewData.Model.Member.NmfNumber %>' />
</div>
</div>
